// SAD8PCDlg.h : header file
//

#if !defined(AFX_SAD8PCDLG_H__173BCC08_18A3_4653_A550_BAA9CF6AA3E0__INCLUDED_)
#define AFX_SAD8PCDLG_H__173BCC08_18A3_4653_A550_BAA9CF6AA3E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CSAD8PCDlg dialog
#include "sad8com.h"
#include "str2bcd.h"
#include "comoperate.h"


class CSAD8PCDlg : public CDialog
{
// Construction
public:
	void buf2combo();
	int getcomno(void);
	void OnReadTherm(void);
	BOOL buf2thermedit(char *s);
	class CSSAD8COM sad8com;
	BOOL combo2readbuf(char	*sad8buf_read);
	CSAD8PCDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSAD8PCDlg)
	enum { IDD = IDD_SAD8PC_DIALOG };
	CComboBox	m_cbthermbuchang;
	CComboBox	m_cboutsck;
	CComboBox	m_cbcomno;
	CComboBox	m_cbcombps;
	CComboBox	m_cbaddr;
	CString	m_csaddr;
	CString	m_cscombps;
	CString	m_cscomno;
	CString	m_csoutsck;
	CString	m_csthermbuchang;
	CString	m_therm1;
	CString	m_therm2;
	CString	m_therm3;
	CString	m_therm4;
	CString	m_therm5;
	CString	m_therm6;
	CString	m_therm7;
	CString	m_therm8;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSAD8PCDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSAD8PCDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnReadbuf();
	afx_msg void OnLoaddefault();
	afx_msg void OnReadtherm();
	afx_msg void OnWritebuf();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SAD8PCDLG_H__173BCC08_18A3_4653_A550_BAA9CF6AA3E0__INCLUDED_)
